package net.bwie.vehicle.dws.bean1;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
public class VehicleData {

    /*

  "vin": "9HMDFEHHRQ9V50FP6",
  "timestamp": 1749215627263,
  "longitude": 118.019111,
  "latitude": 5.96983,
  "speed": 36.7,
  "mileage": 65213.52,
  "batteryLevel": 85.43,
  "batteryTemp": 54.85,
  "motorTemp": 61.06,
  "chargingStatus": "charging",
  "energyConsumption": 18.7
     */
    private String vin;                 // 车辆唯一标识
    private Long timestamp;             // 数据时间戳(毫秒)
    private Double longitude;          // 经度
    private Double latitude;           // 纬度
    private Double speed;              // 车速(km/h)
    private Double mileage;            // 总里程(km)
    private Double batteryLevel;      // 电池电量(%)
    private Double batteryTemp;       // 电池温度(℃)
    private Double motorTemp;         // 电机温度(℃)
    private String chargingStatus;   // 充电状态: charging/discharge
    private Double energyConsumption; // 瞬时能耗(kWh/100km)


}
